<template>
    <div>
        <!-- <DIguitext :num=20></DIguitext> -->
        <MainContent v-for="(value,index) in commemtlist" :key='index' :data='value'></MainContent>
    </div>
</template>
<script>
// import DIguitext from '../components/diguitext'
import MainContent from '../components/Comment/main'
export default {
    data(){
        return{
            commemtlist:[]
        }
    },
    mounted(){
        this.$axios({
            url:'/post_comment/1',
        }).then((res)=>{
            console.log(res);
            this.commemtlist=res.data.data
        })
    },
    components:{
        MainContent
    }
//    components:{
//        DIguitext
//    }
}
</script>

<style>

</style>